<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>学生管理系统</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        
        html,
        body {
            width: 100%;
            height: 100%;
        }
        
        #bac {
            width: 100%;
            height: 100%;
            background: url(img/bg1.5ea94ef.png);
            overflow: hidden;
        }
        
        h2 {
            font-size: 25px;
            text-align: center;
            margin-top: 90px;
        }
        
        #box {
            width: 450px;
            height: 270px;
            background-color: cyan;
            margin: 35px auto;
            overflow: hidden;
            border-radius: 10px;
        }
        
        #box .one,
        #box .two {
            width: 100%;
            height: 50px;
            display: flex;
            justify-content: space-around;
            padding: 10px 30px;
            box-sizing: border-box;
            font-size: 18px;
            line-height: 50px;
        }
        
        #box .one {
            margin-top: 50px;
        }
        
        #userName,
        #password {
            width: 70%;
            height: 30px;
            margin-top: 10px;
            outline: none;
        }
        
        #onload {
            width: 70px;
            height: 40px;
            background-color: blueviolet;
            border-radius: 5px;
            border: none;
            font-size: 18px;
            line-height: 40px;
            margin: 50px 0 0 190px;
        }
    </style>
</head>

<body>

    <div id="bac">
        <h2>学生信息管理系统</h2>
        <div id="box">

            <div class="one">
                用户名：<input type="text" id="userName">
            </div>
            <div class="two">
                密码：<input type="password" id="password" style="margin-right: -6px;">
            </div>

            <button id="onload">登录</button>

        </div>
    </div>

</body>

</html>